package com.rymcu.forest.core.exception;

import org.springframework.security.core.AuthenticationException;

/**
 * 账户异常基类
 *
 * @author ronger
 */
public class AccountException extends AuthenticationException {
    private static final long serialVersionUID = 1L;

    public AccountException() {
        super("账户异常");
    }

    public AccountException(String message) {
        super(message);
    }

    public AccountException(String message, Throwable cause) {
        super(message, cause);
    }

    public AccountException(Throwable cause) {
        super("账户异常", cause);
    }
}